#ifndef CONVERTION_H_
#define CONVERTION_H_

#include<iostream>
#include<QString>
#include<string>
#include<sstream>
#include<iomanip>
#include<QDebug>
#include"QPCR.h"
#include"Constant.h"

class Convertion {
    public:
        int stringToInt(const std::string &str);
        double stringToDouble(const std::string &str);
        const std::string intToString(int i);
        const std::string doubleToString(double i, int j);
        double roundingOffConvert(double convertobject, int n);
        QString binaryToHex(QString s);
        QString stringToQString(std::string s);
        QString decimalToHex4Bit(int dec);
        QString decimalToHex2Bit(int dec);
        QString decimalToHex1Bit(int dec);
        QString binaryToDec(std::string binaryString);
        QString hexToDec(std::string s);
        QString getReactionPlateData(ReactionPlate reactionPlate,QString experimentId);
        QString getProcedureData(QHash<QHash<QString,QString>,QList<QHash<QString,QString>>> data,QString experimentID);

};

#endif /*CONVERTION_H_*/
